﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Alysa
{
    public class PluginExecutionResult
    {
        public enum STATUS { SUCCESS, FAIL, NEVER_RUN, IN_PROGRESS, STOPPED, CANCELLED };
        private STATUS status;
        private int result;

        private PluginExecutionResult() { }

        public PluginExecutionResult(STATUS iStatus, int iResult)
        {
            status = iStatus;
            result = iResult;
        }

        public STATUS getStatus() { return status; }
        public int getResult() { return result; }
        public void setStatus(STATUS iStatus) { status = iStatus; }
        public void setResukt(int iResult) { result = iResult; }
        public override String ToString () { return "Result = " + getResult().ToString(); }
    }
}
